package cn.chousensei.chousenseiblog.service;

import cn.chousensei.chousenseiblog.model.User;

import javax.servlet.http.Cookie;

public interface UserService {

    void createOrUpdate(User user);

    Boolean isSame(String account);

    User isLoginSuccess(User user);

    User isLoggedIn(Cookie[] cookies);
}
